package com.lb.design.pattern.factory.abstractfacorymethod;

import com.lb.design.pattern.factory.IMobile;
import com.lb.design.pattern.factory.Samsung;

/**
 * @author lb
 * @Title: SamsungElectronicFactory
 * @Description: TODO
 * @date 2019/03/07  15:44
 */
public class SamsungElectronicFactory implements IElectronicFactory {
    @Override
    public IMobile getMobile() {
        return new Samsung();
    }

    @Override
    public INoteBookComputer getNoteBookComputer() {
        return new SamsungNoteBook();
    }
}
